{% extends "application01/base.html" %}
{% load django_bootstrap5 %}
{% block content %}
<div class="container mt-5">
    <h2>注册</h2>
    <form action="{% url 'accounts:register' %}" method="post" class="needs-validation" novalidate>
        {% csrf_token %}
        {% bootstrap_form form layout='horizontal' %}
        {% bootstrap_button button_type="submit" content="注册" %}
    </form>
</div>
{% endblock content %}